<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>医疗预约系统</title>
</head>
<body>
	<h3 align="center" >医疗预约系统</h3><br>
	<form  action="login" method="post">
		<table align="center">
			<tr>
				<th colspan="2">用户登录</th>
			</tr><br>
			<tr>
				<td>用户名：</td>
				<td><input type="text" id="userName" name="userName" value="${userName }"/></td>
			</tr>
			<tr>
				<td>密&nbsp;&nbsp;&nbsp;&nbsp;码：</td>
				<td><input type="password" id="password" name="password" value="${password }"/></td>
			</tr>
			<tr align="center">
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<td><input type="submit" value="登录" /></td>
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<td><a href="http://localhost:8080/reg.jsp"><input type="button" value="注册" /></a></td>
			</tr>
		</table>
		<h5 align="center"><font color="red">${error }</font></h5>
	</form>
</body>
</html>